package com.tairanchina.md.meeting.constants;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by lxliuxuan on 2017/1/11.
 */
@Component
public class RabbitConnConstants {

    public  static  String host;

    public static  String userName;

    public static String password;

    public String getHost() {
        return host;
    }
    @Value("${rabbit.hostname}")
    public void setHost(String host) {
        this.host = host;
    }

    public String getUserName() {
        return userName;
    }
    @Value("${rabbit.userName}")
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }
    @Value("${rabbit.password}")
    public void setPassword(String password) {
        this.password = password;
    }
}
